home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- * *
- * Ad(F1.5) *
- * Java Applet *
- * Written by Mark Qian *
- * *
- *****************************************************************
-
-
-
-
- Ad is a JAVA appelt written by Mark Qian. It displays an user-specified
- scrolling window with sound. Images are switch in a variety of styles
- (15 styles)in a user-specified period. Each user-specified image can be
- assigned an URL so that Ad open the URL when the corresponding image is
- clicked. It plays a user-specified sound(an au file) when mouse cursor
- moves over the applet area.
-
- PARAMETERS:
- ==========
- RegistrationCode - Code that enable following features
- speed - the speed of animation.
- animatemode - 0 images are always scrolled.
- 1 images are scrolled only when mouse cursor within AD
- 2 stop scrolling when mouse cursor within AD
- peroid - The period between scrolling
- withURL - Set to 1 if you like to open an URL when clicking at a image.
- Otherwise, you can set it to 0 and ignore on_click parameters.
- imgname - the names of image files.
- dir - the subdirectory where image files reside
- nimgs - number of images used for animation.
- audiofile - the audio file that should reside in
- the directory where the applet resides.
- on_click1 ...
- on_clickn - The URLs to be opened when corresponding image is clicked
- image1...
- imagen - Images to be displayed by AD
-
-
-
-
- INSTALLATION:
- ============
-
- If you are a webmaster or experienced person, just follow the brief
- instructions below.
-
- IMPORTANT:
- =========
-
- *********************************************************************************
- * *
- * If you are NOT familiar with Java applet installation an Unix environment, *
- * Please follow the detail instructions in *
- * *
- * http://ourworld.compuserve.com/homepages/mark_qian *
- * *
- * to install it. Don't try it youself. *
- * *
- *********************************************************************************
-
-
-
- BRIEF INSTRUCTIONS (for experienced people only):
- ==================
-
- 0). Unzip AD.zip in your local machine (you had done this step).
-
-
- 1). Rename class files. Because PKUNZIP will extract the
- class file, ad.class, to ADC377~1.CLA, you have to RENAME
- the class file to ad.class. Similarly, rename LOADIM~1.CLA
- to loadimage.class. NOTE: They are case sensitive and name of
- the second class is loadimage.class instead of load.class
- nor loading.class.
-
- 2). Open TEST_AD.HTM with your browser locally. If it works locally,
- go to next step. Otherwise, go to Mark's home page for detail
- instructions.
-
- 3). Try TEST_AD.HTM online(Ignore this step if you think that you
- REALLY know what to do).
-
- - place ad.class and loadimage.class in the place you want in your server.
- (FTP program may change ad.class to ad.cla. Rename class files
- if needed).
- - place TEST_AD.HTM, Ad*.GIF, and LAUGH.AU to the same directory
- - change access attributes of all the files above to readable(744)
- - Browse TEST_AD.HTM from your local machine
-
- If it works, go to next step. Otherwise Go to Mark's page for instructions.
-
-
- 4).Use your own stuff
-
- - add following HTML statements into your HTML's body
-
- <center>
- <applet code="ad.class" width=403 height=90>
- <param name=RegistrationCode value="f1.1-34957">
- <param name=animatemode value="0">
- <param name=speed value="9">
- <param name=peroid value="2">
- <param name=withURL value="1">
- <param name=audiofile value="LAUGH.AU">
- <param name=nimgs value="5">
- <param name=on_click1 value="http://www.aimnet.com/~markqian/HOMEPAGE.HTM">
- <param name=on_click2 value="http://www.aimnet.com/~markqian/JAVAZOO.HTM">
- <param name=on_click3 value="http://www.aimnet.com/~markqian/SCREENSA.HTM">
- <param name=on_click4 value="http://www.aimnet.com/~markqian/mark.html">
- <param name=on_click5 value="http://www.aimnet.com/~markqian/APP_AD.HTM">
- <param name=image1 value="AD1.GIF">
- <param name=image2 value="AD2.GIF">
- <param name=image3 value="AD3.GIF">
- <param name=image4 value="AD4.GIF">
- <param name=image5 value="AD5.GIF">
- </applet>
- </center>
-
-
- - replace parametes such as "on_click", "image", "audiofile" with your stuff.
-
-
- 5). If it works, enjoy it!! (If you like to do its hard-working author a favor, Drop him an
- Email to let Mark know It runs OK). Otherwise, go to Mark's page for detail instructions
- of troubleshooting.
-
-
-
- Go Mark's Home Page(http://ourworld.compuserve.com/homepages/mark_qian") to see more exciting applets!
-
-